import { App } from "vue"
import { permissions } from "./permissions"

/**
 * 注册全局自定义指令
 * @param app
 */
export function setupDirectives(app: App<Element>) {
    // 权限控制指令
    app.directive("permissions", permissions)
}
